{__NOLAYOUT__}
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>跳转提示 | A3Mall</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="{__SYSTEM_PATH__}/js/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="{__SYSTEM_PATH__}/font/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="{__SYSTEM_PATH__}/js/layui/css/layui.css">
    <link rel="stylesheet" href="{__SYSTEM_PATH__}/css/base.css">
    <style type="text/css">
        #jump-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 370px; min-width: 370px; max-width: 450px; height: auto !important; height: 430px; min-height: 430px; }
        #jump-box .image {  }
        #jump-box .image img { display: block; margin: 0 auto; width: 277px; height: 198px; }
        #jump-box .title { padding-top: 25px; text-align: center; font-size: 28px; color: #333; }
        #jump-box .intro { padding-top: 25px; padding-bottom: 30px; border-bottom: 1px solid #cecece; text-align: center; font-size: 16px; color: #666; }
        #jump-box .btn { padding-top: 20px; text-align: center; width: 100%; }
        #jump-box .btn span:first-child { float: left; }
        #jump-box .btn span:last-child { float: right; }
        #jump-box .btn a { color: #fff; border-radius: 15px; display: inline-block; width: 155px; height: 40px; line-height: 40px; font-size: 16px; background-color: #3084b5; }
        #jump-box .btn a:hover { opacity: 0.8; }
    </style>
</head>
<body>

    <div id="jump-box">
        <div class="image"><img src=""></div>
        <div class="title"><?php echo(strip_tags($msg));?></div>
        <div class="intro">
            页面将在<b id="wait"> <?php echo($wait);?> </b>秒后自动跳转
        </div>
        <div class="btn">
            <span><a id="href" href="<?php echo($url);?>">返回上一页</a></span>
            <span><a href="{:createUrl('platform.index/index')}">跳转至首页</a></span>
        </div>
    </div>

    <script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</body>
</html>
